package com.pocketsweet.model;

import com.avos.avoscloud.AVClassName;
import com.avos.avoscloud.AVObject;

@AVClassName("MLUserCount")
public class MLUserCount extends AVObject {
	public static String USER = "user";// 被喜欢的用户
	public static String LIKECOUNT = "likeCount";// 用户被喜欢的次数

	public MLUserCount() {
		setLikeCount(0);
	}

	// 被喜欢的用户
	public MLUser getUser() {
		return (MLUser) super.getAVUser(USER);
	}

	public void setUser(MLUser mlUser) {
		super.put(USER, mlUser);
	}

	// 用户被赞的次数
	public int getLikeCount() {
		return super.getInt(LIKECOUNT);
	}

	public void setLikeCount(int value) {
		super.put(LIKECOUNT, value);
	}
}
